package com.sdl.test.flutter_sdl_test.surface_view

import android.content.Context
import io.flutter.plugin.common.StandardMessageCodec
import io.flutter.plugin.platform.PlatformView
import io.flutter.plugin.platform.PlatformViewFactory

class MySurfaceViewFactory(
    val rootContext: Context,
):  PlatformViewFactory(StandardMessageCodec.INSTANCE) {

    override fun create(context: Context, id: Int, o: Any?): PlatformView {
        return MySurfaceViewGroup(rootContext)
    }
}